package com.ateam.pojo;

import java.util.Date;

/** 
* @author WuYuan
* 
*/
public class Activities {
	private int activityid;//活动id
	private String activityname;//活动名称
	private Date starttime;//开始时间
	private Date endtime;//结束时间
	private String activityaddress;//活动地址
	private String description;//活动描述
	private String iscompleted;//是否结束
	private int projectid;//所属项目id，可为空
	private int groupid;//所属小组id，可为空
	
	public int getActivityid() {
		return activityid;
	}
	public void setActivityid(int activityid) {
		this.activityid = activityid;
	}
	public String getActivityname() {
		return activityname;
	}
	public void setActivityname(String activityname) {
		this.activityname = activityname;
	}
	public Date getStarttime() {
		return starttime;
	}
	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}
	public Date getEndtime() {
		return endtime;
	}
	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}
	public String getActivityaddress() {
		return activityaddress;
	}
	public void setActivityaddress(String activityaddress) {
		this.activityaddress = activityaddress;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getIscompleted() {
		return iscompleted;
	}
	public void setIscompleted(String iscompleted) {
		this.iscompleted = iscompleted;
	}
	public int getProjectid() {
		return projectid;
	}
	public void setProjectid(int projectid) {
		this.projectid = projectid;
	}
	public int getGroupid() {
		return groupid;
	}
	public void setGroupid(int groupid) {
		this.groupid = groupid;
	}
	
	@Override
	public String toString() {
		return "Activities [activityid=" + activityid + ", activityname=" + activityname + ", starttime=" + starttime
				+ ", endtime=" + endtime + ", activityaddress=" + activityaddress + ", description=" + description
				+ ", iscompleted=" + iscompleted + ", projectid=" + projectid + ", groupid=" + groupid + "]";
	}
	
}
